export  default (value)=>{
    // let date = new Date(value)
    // // console.log(date)
    // let y = date.getFullYear();
    // let mm = date.getMonth()+1;
    // mm = mm<10 ? "0"+ mm : mm;

    // let d = date.getDate();
    // d = d<10 ? "0"+ d : d;

    // let h = date.getHours();
    // h = h<10 ? "0"+ h : h;
    // let m = date.getMinutes();
    // m = m<10 ? "0"+m : m;
    // let s = date.getSeconds()
    // s = s<10 ? "0"+ s : s;


    // return  y + "-" + mm + "-" + d + "  " +h+":"+m+":"+s;

    return  new Date(value).toLocaleString()

}